Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure vbguest and validate Vagrantfile during lifecycle test #115

Merged
merged 3 commits into from
Mar 31, 2022

Conversation

konstruktoid
Copy link
Collaborator

@konstruktoid konstruktoid commented Mar 30, 2022

This PR:

  • adds a Vagrantfile (if it doesn't exist) to configure vbguest in order to pass init() and up() sequence
  • validates the Vagrantfile after init()

Signed-off-by: Thomas Sjögren [email protected]

@konstruktoid konstruktoid changed the title add .vagrant.d/Vagrantfile to configure vbguest configure vbguest and validate Vagrantfile during lifecycle test Mar 30, 2022
@@ -269,7 +269,10 @@ def test_vm_status(vm_dir):


def test_vm_lifecycle(vm_dir):
"""Test methods controlling the VM - init(), up(), halt(), destroy()."""
"""Test methods controlling the VM - init(), up(), suspend(), halt(), destroy()."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reason for removing the suspend() here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't? I just updated the comment to include suspend().

    v.suspend()
    assert v.SAVED == v.status()[0].state

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, sorry. -ENOCOFFEE.

@ssbarnea ssbarnea merged commit 94a2b0f into pycontribs:main Mar 31, 2022
@konstruktoid konstruktoid deleted the inittest branch March 31, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants